/*
 * Player.h
 *
 *  Created on: 2009-01-10
 *      Author: tomaszd
 */

#ifndef PLAYER_H_
#define PLAYER_H_

#include <netinet/ip.h>
#include <string.h>
#include "../CommunicationStructs.h"

class UdpPlayer {
public:

	struct sockaddr_in udp_player_addr;		// adres gracza
	Direction last_dir;
	char nick[16];

	UdpPlayer();
	UdpPlayer (struct sockaddr_in addr, char *name);

};

#endif /* UdpPlayer_H_ */
